<template>
<div>

  <span>a</span>
  <van-button type="primary" @click="$router.push('/b')">跳转b</van-button>
</div>

</template>

<script lang='ts'>
import { defineComponent } from 'vue';
export default defineComponent({
name:'Demo',
setup(){
}
})
</script>